package com.tzy.rpc.transport;/**
 * @description:
 * @Author HP
 * @create 2022/3/14 19:35
 */

import com.tzy.rpc.entity.RpcRequest;
import com.tzy.rpc.serializer.CommonSerializer;

/**
 * @author HP
 * @create 2022-03-14 19:35
 * @desc client抽象
 **/
public interface RpcClient {
    Object sendRequest(RpcRequest rpcRequest);
    void setSerializer(CommonSerializer serializer);
}
